package com.sirun.ble.constants;

/**
 * @author : hzw
 */
public class BleConfig {

    public static String version = "1.0.0.1";
    public static final String BleSdkTag = "SRBle";
    public static final int DEFALUT_RESCAN_TIME = 3;

    /** Ble open/close/support status */
    public static boolean isSystemBleOpen = true;
    public static final int TAG_BLE_OPEN = 0;
    public static final int TAG_BLE_CLOSE = 1;
    public static final int TAG_BLE_NO_SUPPORT = 2;

    /** Ble Connect status */
    public static final int TAG_CONNECTED = 1;
    public static final int TAG_CONNECTED_AUTH = 2;
    public static final int TAG_CONNECTED_NONE = 3;


    /** Vehicle Control cmd type */
    public static int CURRENT_CMD_TYPE = -1;
    public static final int CMD_TYPE_DEFAULT = -1;
    public static final int CMD_TYPE_UNKNOWN = -1;
    public static final int CMD_TYPE_UNLOCK = 0;
    public static final int CMD_TYPE_LOCK = 1;
    public static final int CMD_TYPE_TRUNK_OPEN = 2;
    public static final int CMD_TYPE_FIND_CAR = 3;

    /** Vehicle Control steps */
    public static final int CONTROL_STEP_CMD_SEND = 0;
    public static final int CONTROL_STEP_UNDER_CONTROL = 1;
    public static final int CONTROL_STEP_SUCCESS = 2;
    public static final int CONTROL_STEP_FAIL = 3;

    /** Vehicle seckey status */
    public static final int SEC_EXIST_NONE = 1;
    public static final int SEC_READY = 2;
    public static final int SEC_CONNECTED = 3;


}
